Use the HTML Tag Colors preferences to control the background, text, and tag colors in the HTML inspector.
Background Color specifies the background color of the HTML inspector. This color appears only when you click or type in the inspector; when focus is not on the HTML inspector, its background color is a medium gray.
Text specifies the color of text that appears between tags (for example, <b>
the text color setting applies to this text, but not the B
tags.</b>
). To override the Text color for a specific tag, select the Include Contents option.
Tag Default specifies the color for all tags except comments. To override the Tag Default color, set the Color for specific tags.
Comments specifies the color for comment tags (<!-- -->
) and their contents.
You can override the Tag Default and Text color settings by specifying Color Include Contents for specific tags.
To set a color for a specific tag:
1 | Select a tag in the Tag Specific box. |
Shift-click to select multiple adjacent tags, or Control-click (Windows) or Command-click (Macintosh) to select multiple nonadjacent tags. | |
2 | Click the radio button next to the color swatch at the bottom of the panel and use one of these methods to choose a new color value: |
![]() |
In the text field next to the swatch, enter a hexadecmial value. |
![]() |
Hold down the mouse button on the color swatch and select a new color from the palette of browser-safe colors or the color wheel. |
3 | To color the text between the opening and closing tags of this tag, select Include Contents. |
![]() |